<template>
  <section>
    <el-tabs v-model="tabName">
      <el-tab-pane label="二维码管理" name="first">
        <qr-code v-if="tabName === 'first'"/>
      </el-tab-pane>
      <el-tab-pane label="二维码类型" name="second"><qr-code-type v-if="tabName === 'second'"/></el-tab-pane>
    </el-tabs>
  </section>
</template>

<script>
  import qrCode from './qrCodeManagement/qrCodeList'
  import qrCodeType from './qrCodeType/codeTypes'
  export default {
    name: "index",
    components:{qrCode,qrCodeType},
    data(){
      return{
        tabName:'first'
      }
    }
  }
</script>

<style scoped>

</style>
